package com.example.ricebibackend.common.errorcode;

/**
 * controller层错误码常量
 */
public interface ControllerErrorCodeConstants {
    // ===== 用户模块异常 =====
    ErrorCode USER_REGISTER_ERROR = new ErrorCode(100, "用户注册失败!");
    ErrorCode USER_LOGIN_ERROR = new ErrorCode(101, "用户登录失败!");
    // ===== 验证码模块异常 =====
    ErrorCode USER_VERIFY_CODE_PHONE_ERROR = new ErrorCode(200, "用户验证模块手机号格式错误!");
    // ===== 分析模块异常 =====
    ErrorCode ANALYSIS_PARAM_NULL = new ErrorCode(300, "分析模块参数为空!");
    ErrorCode ANALYSIS_ASK_DTO_CONVERT_ERROR = new ErrorCode(301, "分析模块查询转换错误!");
    // ===== 图表模块异常 =====
    ErrorCode CHART_SHOW_ERROR = new ErrorCode(400, "图表展示失败!");

}
